package bma.common.langutil.ai;

import java.util.Timer;
import java.util.TimerTask;

import junit.framework.TestCase;
import bma.common.langutil.ai.boot.AIServerBoot;

public class ServerBootTC extends TestCase {

	public void testBase() throws Throwable {
		new Timer().schedule(new TimerTask() {
			@Override
			public void run() {
				Runtime.getRuntime().exit(100);
			}
		}, 5 * 1000);
		new AIServerBoot().boot(
				"classpath:bma/common/langutil/spring/spring_server.xml",
				"booter");
	}
}
